﻿@{    
    Layout = "~/_SiteLayout.cshtml";
    Page.Title = "Membres";
}
<hgroup class="title">
    <h1>@Page.Title.</h1>
    <h2>Votre page de description d’application.</h2>
</hgroup>
<article>
@{
    var dbcontext = new alguillet_ExpenseManagerEntities();
    var members = dbcontext.Members;
    var grid = new WebGrid(members, new string[] { "Login", "Email" }, "Login", 10, true, true, "grid");
}

<div id="grid">
    @grid.GetHtml(fillEmptyRows: true,
                    rowStyle: "row1",
                    alternatingRowStyle: "row2",
                    columns: grid.Columns(
                        grid.Column("Login", "Identifiant"),
                        grid.Column("Email", "Email"),
                        grid.Column(null, null, @<span>X</span>)
                    )
    )
</div>
    <p>
        Indiquez des informations supplémentaires à l'aide de cette zone.
    </p>
</article>
